package com.ruoyi.dgdData.domain.plat;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.ruoyi.common.convert.ArrayToJsonDeserializer;
import com.ruoyi.common.core.pad.ChartLineDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 单轨吊满载向下制动距离测试对象 data_dgd_mzxx
 * 
 * @author ruoyi
 * @date 2023-12-28
 */
@ApiModel(value = "单轨吊-满载向下制动距离测试对象")
public class DataDgdMzxx extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 满载向下制动距离id */
    private Long mzxxId;

    /** 任务id */
    @Excel(name = "任务id")
    private Long dataTaskId;

    /** 平板id */
    @ApiModelProperty(value = "平板id")
    private Long id;

    /** 平板任务id */
    @Excel(name = "平板任务id")
    @ApiModelProperty(value = "平板任务id")
    private Long taskId;

    /** 速度数值List */
    @Excel(name = "速度数值List")
    @ApiModelProperty(value = "速度数值List")
    @JsonDeserialize(using = ArrayToJsonDeserializer.class)
    //@JsonProperty(access = JsonProperty.Access.READ_ONLY)
    private String suduList;


    /** 速度线 */
    private ChartLineDTO sdChartLineDTO;

    /** 制动开始时间 */
    @Excel(name = "制动开始时间")
    @ApiModelProperty(value = "制动开始时间")
    private String startTime;

    /** 结束时间 */
    @Excel(name = "结束时间")
    @ApiModelProperty(value = "结束时间")
    private String endTime;

    /** 制动距离 */
    @Excel(name = "制动距离")
    @ApiModelProperty(value = "制动距离")
    private String zhdjl;

    /** 制动初速度 */
    @Excel(name = "制动初速度")
    @ApiModelProperty(value = "制动初速度")
    private String zhdchsd;

    /** 6秒运行距离 */
    @Excel(name = "6秒运行距离")
    @ApiModelProperty(value = "6秒运行距离")
    private String lmyxjl;

    /** 制动时间 */
    @Excel(name = "制动时间")
    @ApiModelProperty(value = "制动时间")
    private String zhdshj;

    /** 保存时间 */
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    @ApiModelProperty(value = "保存时间")
    @Excel(name = "保存时间", width = 30, dateFormat = "yyyy-MM-dd hh:mm:ss")
    private Date saveTime;

    /** 删除标志（0代表存在 2代表删除） */
    @ApiModelProperty(value = "删除标志（0代表存在 2代表删除）")
    private String delFlag;

    public void setMzxxId(Long mzxxId) 
    {
        this.mzxxId = mzxxId;
    }

    public Long getMzxxId() 
    {
        return mzxxId;
    }
    public void setDataTaskId(Long dataTaskId) 
    {
        this.dataTaskId = dataTaskId;
    }

    public Long getDataTaskId() 
    {
        return dataTaskId;
    }
    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTaskId(Long taskId) 
    {
        this.taskId = taskId;
    }

    public Long getTaskId() 
    {
        return taskId;
    }
    public void setSuduList(String suduList) 
    {
        this.suduList = suduList;
    }

    public String getSuduList() 
    {
        return suduList;
    }
    public void setStartTime(String startTime) 
    {
        this.startTime = startTime;
    }

    public String getStartTime() 
    {
        return startTime;
    }
    public void setEndTime(String endTime) 
    {
        this.endTime = endTime;
    }

    public String getEndTime() 
    {
        return endTime;
    }
    public void setZhdjl(String zhdjl) 
    {
        this.zhdjl = zhdjl;
    }

    public String getZhdjl() 
    {
        return zhdjl;
    }
    public void setZhdchsd(String zhdchsd) 
    {
        this.zhdchsd = zhdchsd;
    }

    public String getZhdchsd() 
    {
        return zhdchsd;
    }
    public void setLmyxjl(String lmyxjl) 
    {
        this.lmyxjl = lmyxjl;
    }

    public String getLmyxjl() 
    {
        return lmyxjl;
    }
    public void setZhdshj(String zhdshj) 
    {
        this.zhdshj = zhdshj;
    }

    public String getZhdshj() 
    {
        return zhdshj;
    }
    public void setSaveTime(Date saveTime) 
    {
        this.saveTime = saveTime;
    }

    public Date getSaveTime() 
    {
        return saveTime;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    public ChartLineDTO getSdChartLineDTO() {
        return sdChartLineDTO;
    }

    public void setSdChartLineDTO(ChartLineDTO sdChartLineDTO) {
        this.sdChartLineDTO = sdChartLineDTO;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("mzxxId", getMzxxId())
            .append("dataTaskId", getDataTaskId())
            .append("id", getId())
            .append("taskId", getTaskId())
            .append("suduList", getSuduList())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .append("zhdjl", getZhdjl())
            .append("zhdchsd", getZhdchsd())
            .append("lmyxjl", getLmyxjl())
            .append("zhdshj", getZhdshj())
            .append("saveTime", getSaveTime())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
